package com.nfcprogram.device.enums;
public enum Network {
	None(-1), Bluetooth(0), WiFi(1);
	
	private int value;
	private Network(int value) {
        this.value = value;
	}
	
	public Network getNetwork(int valor){
		if(valor == Bluetooth.getValue())
			return Network.None;
		else if(valor == WiFi.getValue())
			return Network.WiFi;
		return Network.None;
	}
	
	public int getValue(){
		return value;
	}
	
}


